package server;

public interface IMachineEntry {

	/**
	 * Put current machine state.
	 * 
	 * @param State
	 */
	public void putMachineState(MachineState State);
	
	/**
	 * Get current machine state.
	 * 
	 * @return
	 */
	public MachineState getMachineState();
	
	/**
	 * Increse task counter of the machine by 1.
	 */
	public void incTaskCount();
	
	/**
	 * Decrese task counter of the machine by 1.
	 */
	public void decTaskCount();
	
	/**
	 * Get value of task counter of the machine.
	 * 
	 * @return
	 */
	public int getTaskCount();
	
	/**
	 * Put connection information of the current machine.
	 * 
	 * @param Conn
	 */
	public void putConnInfo(ConnectionInformation Conn);
	
	/**
	 * Get connection information of the current machine.
	 * 
	 * @return
	 */
	public ConnectionInformation getConnInfo();
}
